package com.spring.config.service;

import com.spring.config.entity.UserJpa;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Sort;

import java.util.List;

/**
 * ClassName: IUserService
 * Description:
 * Date: 2017/5/17 11:17
 *
 * @author SAM SHO
 * @version V1.0
 */
public interface IUserService {


    List<UserJpa> findAll();

    Page<UserJpa> findByName(String name, String pwd);
}
